package com.qingcloud.api.dcengine.service.fallback;

import com.qingcloud.api.dcengine.dto.TablePageDTO;
import com.qingcloud.api.dcengine.dto.discharge.CommonDischargeDensity;
import com.qingcloud.api.dcengine.model.discharge.DischargeDensityListParam;
import com.qingcloud.api.dcengine.model.discharge.DischargeDensityPageParam;
import com.qingcloud.api.dcengine.service.DischargeDensityApi;
import org.springframework.stereotype.Component;

import java.util.Collections;
import java.util.List;

/**
 * 模拟排污口数据
 */
@Component
public class DischargeDensityApiFallback implements DischargeDensityApi {

    @Override
    public List<CommonDischargeDensity> gasHourList(DischargeDensityListParam listParam) {
        return Collections.emptyList();
    }

    @Override
    public TablePageDTO<CommonDischargeDensity> gasHourPage(DischargeDensityPageParam pageParam) {
        return new TablePageDTO<>();
    }

    @Override
    public List<CommonDischargeDensity> gasDayList(DischargeDensityListParam listParam) {
        return Collections.emptyList();
    }

    @Override
    public TablePageDTO<CommonDischargeDensity> gasDayPage(DischargeDensityPageParam pageParam) {
        return new TablePageDTO<>();
    }

    @Override
    public List<CommonDischargeDensity> waterHourList(DischargeDensityListParam listParam) {
        return Collections.emptyList();
    }

    @Override
    public TablePageDTO<CommonDischargeDensity> waterHourPage(DischargeDensityPageParam pageParam) {
        return new TablePageDTO<>();
    }

    @Override
    public List<CommonDischargeDensity> waterDayList(DischargeDensityListParam listParam) {
        return Collections.emptyList();
    }

    @Override
    public TablePageDTO<CommonDischargeDensity> waterDayPage(DischargeDensityPageParam pageParam) {
        return new TablePageDTO<>();
    }

}
